package com.digiregistry.api.wrapper.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.digiregistry.api.wrapper.model.Quota.QuotaType;

public class OrganizationData implements Serializable {

	public enum RegistrationPeriod { YEAR, MONTH, DAY }
	
	private String id;
	private String code;
	private String name;
	private String sharedKey;
	private String callbackUrl;
	private String techMail;
	private Map<QuotaType, Quota> quotas = new HashMap<QuotaType, Quota>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSharedKey() {
		return sharedKey;
	}
	public void setSharedKey(String sharedKey) {
		this.sharedKey = sharedKey;
	}
	
	public Map<QuotaType, Quota> getQuotas() {
		return quotas;
	}
	public String getCallbackUrl() {
		return callbackUrl;
	}
	public void setCallbackUrl(String callbackUrl) {
		this.callbackUrl = callbackUrl;
	}
	public String getTechMail() {
		return techMail;
	}
	public void setTechMail(String techMail) {
		this.techMail = techMail;
	}

}
